<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div{
            width: 100px;
            height: 100px;
            border: 1px black solid;
        }
        .div2{
            position: absolute;
           top: 30px;
            
        }
    </style>
</head>
<body>
    
   <div class="div1"></div>
   <div class="div2"></div>
   <div class="div3"></div>

</body>
</html>